package com.example.home.me;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.example.home.R;
import com.example.home.government.bean.PersonAppealBean;
import com.example.home.tool.OKHttpTool;

public class OrderListActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_order_list);
        
        initView();
        getListData();
        
    }

    private void getListData() {
        OKHttpTool.doNetRequest("prod-api/api/allorder/list",
                OKHttpTool.GET,
                PersonAppealBean.class,
                new OKHttpTool.NetCallback() {
                    @Override
                    public void onSuccess(Object obj) {
                        PersonAppealBean personAppealBean = (PersonAppealBean) obj;
                        runOnUiThread(new Runnable() {
                            @Override
                            public void run() {

                            }
                        });
                    }

                    @Override
                    public void onFailure(String msg) {

                    }
                }
        );
    }

    private void initView() {
    }
}